<?php /* Smarty version 2.6.13, created on 2013-10-09 15:58:07
         compiled from Admin/Menu/menu.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../Public/Css/userp.css" />
<link rel="stylesheet" type="text/css" href="../Public/Css/page.css" />
<script type="text/javascript" src="../Public/Js/jquery.js"></script>
<script type="text/javascript" src="../Public/Js/choose.js"></script>
</head>
<body>
<div class="content">

	<div class="pos">
		<div class="posDe">当前位置 : <font style="color:blue;">产品管理&gt;管理产品</font></div>
	</div>
	<div id='menum'>
		<form action='Menu.php?flag=delMore' method='post'>
		<table >
			<tr><th><input type='checkbox' name='All' onclick='checkboxChooseAll();'/></th><th>菜谱编号</th><th>菜谱名称</th><th>样式图</th><th>好评</th><th>差评</th><th>浏览次数</th><th>操作</th></tr>
			<?php $_from = $this->_tpl_vars['menuData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
			<tr>
				<td><input type='checkbox' name='each[]' value='<?php echo $this->_tpl_vars['v']['menu_id']; ?>
'/></td>
				<td><?php echo $this->_tpl_vars['v']['menu_id']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['menu_name']; ?>
</td>
				<td><img src='<?php echo $this->_tpl_vars['v']['menu_pic']; ?>
' id='menupic'/></td>
				<td><?php echo $this->_tpl_vars['v']['menu_good']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['menu_bad']; ?>
</td>
				<td><?php echo $this->_tpl_vars['v']['menu_count']; ?>
</td>
				<td><a href='Menu.php?flag=menudelete&menu_id=<?php echo $this->_tpl_vars['v']['menu_id']; ?>
'>[删除]</a><a href='Menu.php?flag=menuupdate&menu_id=<?php echo $this->_tpl_vars['v']['menu_id']; ?>
'>[修改]</a></td>
			</tr>
			<?php endforeach; else: ?>
			<tr><td colspan='7'>暂时没有菜谱的数据记录!</td></tr>
			<?php endif; unset($_from); ?>
		</table>
		<div style='border:0px solid red;width:400px;margin-left:100px;'><input type="button" value="全选" onclick="buttonChooseAll();"><input type="button" value="反选" onclick="buttonReChoose();">&nbsp;&nbsp;<input type="submit" value="删除选中"></div>
		</form>
		<div id='page'><?php echo $this->_tpl_vars['pageStr']; ?>
</div>
	</div>
</div>
</body>
</html>